﻿using System;
using System.ComponentModel;
using System.Windows.Media;

using SBPweb.Modules.Modularity;

using SBPweb.MediaCenter.Modules.Tuner.WPF.Controls;

namespace SBPweb.MediaCenter.Modules.Tuner.WPF
{

    public class Module : Tuner.Module
    {

        #region Private members

		#endregion

		#region Constructor logic

		public Module(IModuleHost parent)
			: base(parent)
        {
        }

		#endregion

        #region Methods

        #region Initialization logic

        public override void Initialize()
        {
            base.Initialize();

            if (HostType != ModuleHostType.WindowsPresentationFoundation)
            {
                //TODO: log something
                return;
            }
        }

        public override void InitializeMenus()
        {
            MainMenuItem mmItem = new MainMenuItem();
            mmItem.BackgroundColor = Color.FromRgb(0, 0, 0);
            pHost.Menu.Add(mmItem);
        }

        public override void InitializeSmartparts()
        {
            //throw new NotImplementedException();
        }

        #endregion

        public override void LoadPersistency()
        {
            throw new NotImplementedException();
        }

        public override void SavePersistency()
        {
            throw new NotImplementedException();
        }

        public override void Terminate()
        {
            //throw new NotImplementedException();
        }

        #endregion

    }

}